import {createApp} from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from "./router";

// 定义全局常量
const GLOBAL_CONSTANT = 'http://47.96.236.147:8087/';
// const GLOBAL_CONSTANT = 'http://localhost:8087/';

// 使用 provide 将常量提供给整个应用


createApp(App)
    .provide('GLOBAL_CONSTANT', GLOBAL_CONSTANT)
    .use(ElementPlus)
    .use(router)
    .mount('#app')

